﻿<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="ProjectGroupUpdate.aspx.cs" Inherits="ProjectGroupUpdate" Title="Project Monitoring System"
    Culture="auto:en-US" UICulture="Auto" meta:resourcekey="PageResource1" %>
    <%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder2" Runat="Server" Visible="false">

<div style=" width:970px">
       <%--<fieldset style="height: 650px">--%>
            <asp:ObjectDataSource ID="ODSProjectGroups" runat="server" OldValuesParameterFormatString="original_{0}"
                SelectMethod="dtProjectGroup" TypeName="IPTableAdapters.ProjectGroupTableAdapter"
                DeleteMethod="Delete" InsertMethod="Insert" UpdateMethod="Update">
                <SelectParameters>
                    <asp:SessionParameter DefaultValue="False" Name="SuperUser" SessionField="SuperUser"
                        Type="Boolean" />
                    <asp:SessionParameter DefaultValue="" Name="OwnerGroupID" SessionField="OwnerGroupId"
                        Type="String" />
                </SelectParameters>
                <DeleteParameters>
                    <asp:Parameter Name="IsDelete" Type="Boolean" />
                    <asp:Parameter Name="DeleteBy" Type="String" />
                    <asp:Parameter Name="DeleteIP" Type="String" />
                    <asp:Parameter Name="Original_ProjectGroupID" Type="String" />
                </DeleteParameters>
                <UpdateParameters>
                    <asp:Parameter Name="ProjectGroupID" Type="String" />
                    <asp:Parameter Name="Description" Type="String" />
                    <asp:Parameter Name="OfficerName" Type="String" />
                    <asp:Parameter Name="OfficerRole" Type="String" />
                    <asp:Parameter Name="Title" Type="String" />
                    <asp:Parameter Name="OfficerEmail" Type="String" />
                    <asp:Parameter Name="UpdateBy" Type="String" />
                    <asp:Parameter Name="FirstFilingDate" Type="DateTime" />
                    <asp:Parameter Name="PriorityDate" Type="DateTime" />
                    <asp:Parameter Name="ProjectClass" Type="String" />
                    <asp:Parameter Name="Applicant" Type="String" />
                    <asp:Parameter Name="Inventor" Type="String" />
                    <asp:Parameter Name="Type" Type="String" />
                    <asp:Parameter Name="Client" Type="String" />
                    <asp:Parameter Name="TitleSubject" Type="String" />
                    <asp:Parameter Name="UpdateIP" Type="String" />
                    <asp:Parameter Name="Original_ProjectGroupID" Type="String" />
                </UpdateParameters>
                <InsertParameters>
                    <asp:Parameter Name="ProjectGroupID" Type="String" />
                    <asp:Parameter Name="Description" Type="String" />
                    <asp:Parameter Name="OfficerName" Type="String" />
                    <asp:Parameter Name="OfficerRole" Type="String" />
                    <asp:Parameter Name="Title" Type="String" />
                    <asp:Parameter Name="OfficerEmail" Type="String" />
                    <asp:Parameter Name="CreateBy" Type="String" />
                    <asp:Parameter Name="UpdateBy" Type="String" />
                    <asp:Parameter Name="OwnerGroupID" Type="String" />
                    <asp:Parameter Name="FirstFilingDate" Type="DateTime" />
                    <asp:Parameter Name="PriorityDate" Type="DateTime" />
                    <asp:Parameter Name="ProjectClass" Type="String" />
                    <asp:Parameter Name="Applicant" Type="String" />
                    <asp:Parameter Name="Inventor" Type="String" />
                    <asp:Parameter Name="Type" Type="String" />
                    <asp:Parameter Name="Client" Type="String" />
                    <asp:Parameter Name="TitleSubject" Type="String" />
                    <asp:Parameter Name="CreateIP" Type="String" />
                </InsertParameters>
            </asp:ObjectDataSource>
            <asp:Panel ID="SearchPanel" runat="server" HorizontalAlign="Center" Width="970px"
                Visible="false">
                <fieldset style="vertical-align: middle">
                    <br />
                    <table>
                        <tr>
                            <td style="vertical-align: middle; text-align: right">
                                <asp:Label ID="lblSearchProjectGroup" runat="server" Text="Project Group" meta:resourcekey="lblProjectGroupIDResource1"></asp:Label>
                            </td>
                            <td style="vertical-align: middle; text-align: left; width: 281px;">
                                <asp:TextBox ID="txtSearchProjectGroup" runat="server"></asp:TextBox>
                            </td>
                            <td style="vertical-align: middle; text-align: right">
                                <asp:Label ID="lblSearchTitleSubject" runat="server" Text="Title/Subject" meta:resourcekey="lblDescriptionResource1"></asp:Label>
                            </td>
                            <td style="vertical-align: middle; text-align: left; width: 281px;">
                                <asp:TextBox ID="txtSearchTitleSubject" runat="server" Width="272px"></asp:TextBox>
                            </td>
                            <td>
                                <asp:Button ID="btnSearchProject" runat="server" Text="Search" CausesValidation="false"
                                    meta:resourcekey="btnSearch" OnClick="btnSearchProject_Click" /></td>
                        </tr>
                    </table>
                </fieldset>
            </asp:Panel>
            <table style="display: none;">
                <tr>
                    <td style="height: 304px; width: 845px;">
                        <asp:Panel ID="PanelList" runat="server" Height="400px" Width="100%" BorderWidth="1px"
                            meta:resourcekey="PanelListResource1" ScrollBars="Vertical">
                            <asp:GridView CssClass="Grid" ID="gvProjectGrp" runat="server" AutoGenerateColumns="False"
                                BackColor="#DEBA84" BorderColor="#DEBA84" BorderStyle="None" BorderWidth="1px"
                                CellPadding="3" CellSpacing="2" DataKeyNames="ProjectGroupID,Description,OfficerName,OfficerRole,Title,OfficerEmail,ProjectClass"
                                DataSourceID="ODSProjectGroups" Width="100%" OnSelectedIndexChanged="gvProjectGrp_SelectedIndexChanged"
                                AllowPaging="True" meta:resourcekey="gvProjectGrpResource1" OnPageIndexChanging="gvProjectGrp_PageIndexChanging1">
                                <FooterStyle CssClass="GridFooterStyle" BackColor="#F7DFB5" ForeColor="#8C4510" />
                                <Columns>
                                    <asp:BoundField DataField="ProjectGroupID" HeaderText="Project Group ID" ReadOnly="True"
                                        SortExpression="ProjectGroupID" Visible="False" meta:resourcekey="BoundFieldResource1" />
                                    <asp:ButtonField DataTextField="ProjectGroupID" HeaderText="Project Group ID" SortExpression="ProjectGroupID"
                                        CommandName="Select" Text="Button" meta:resourcekey="ButtonFieldResource1" />
                                    <asp:BoundField DataField="Description" HeaderText="Title/Subject" SortExpression="Description"
                                        meta:resourcekey="BoundFieldResource2" />
                                    <asp:BoundField DataField="OfficerName" HeaderText="Officer Name" SortExpression="OfficerName"
                                        meta:resourcekey="BoundFieldResource3" />
                                    <asp:BoundField DataField="OfficerRole" HeaderText="Officer Role" SortExpression="OfficerRole"
                                        meta:resourcekey="BoundFieldResource4" />
                                    <asp:BoundField DataField="Title" HeaderText="Title" SortExpression="Title" meta:resourcekey="BoundFieldResource5" />
                                    <asp:BoundField DataField="OfficerEmail" HeaderText="Officer Email" SortExpression="Email"
                                        meta:resourcekey="BoundFieldResource6" />
                                    <asp:BoundField DataField="CreateBy" HeaderText="CreateBy" SortExpression="CreateBy"
                                        Visible="False" meta:resourcekey="BoundFieldResource7" />
                                    <asp:BoundField DataField="CreateDate" HeaderText="CreateDate" SortExpression="CreateDate"
                                        DataFormatString="{0:d}" HtmlEncode="False" meta:resourcekey="BoundFieldResource8" />
                                    <asp:BoundField DataField="UpdateBy" HeaderText="UpdateBy" SortExpression="UpdateBy"
                                        Visible="False" meta:resourcekey="BoundFieldResource9" />
                                    <asp:BoundField DataField="UpdateDate" HeaderText="UpdateDate" SortExpression="UpdateDate"
                                        Visible="False" DataFormatString="{0:d}" meta:resourcekey="BoundFieldResource10" />
                                    <asp:BoundField DataField="OwnerGroupID" HeaderText="OwnerGroupID" SortExpression="OwnerGroupID"
                                        Visible="False" meta:resourcekey="BoundFieldResource11" />
                                    <asp:BoundField DataField="FirstFilingDate" HeaderText="FirstFilingDate" SortExpression="FirstFilingDate"
                                        Visible="False" DataFormatString="{0:d}" meta:resourcekey="BoundFieldResource12" />
                                    <asp:BoundField DataField="PriorityDate" HeaderText="PriorityDate" SortExpression="PriorityDate"
                                        Visible="False" DataFormatString="{0:d}" meta:resourcekey="BoundFieldResource13" />
                                    <asp:BoundField DataField="ProjectClass" HeaderText="ProjectClass" ReadOnly="True"
                                        SortExpression="ProjectClass" meta:resourcekey="BoundFieldResource14" />
                                    <asp:BoundField DataField="Applicant" HeaderText="Applicant" SortExpression="Applicant"
                                        meta:resourcekey="BoundFieldResource15">
                                        <ItemStyle HorizontalAlign="Left" />
                                    </asp:BoundField>
                                    <asp:BoundField DataField="Inventor" HeaderText="Inventor" SortExpression="Inventor"
                                        meta:resourcekey="BoundFieldResource16">
                                        <ItemStyle HorizontalAlign="Left" />
                                    </asp:BoundField>
                                    <asp:BoundField DataField="Type" HeaderText="Type" SortExpression="Type" meta:resourcekey="BoundFieldResource17" />
                                    <asp:BoundField DataField="Client" HeaderText="Client" SortExpression="Client" meta:resourcekey="BoundFieldResource18">
                                        <ItemStyle HorizontalAlign="Left" />
                                    </asp:BoundField>
                                </Columns>
                                <RowStyle CssClass="GridRowStyle" BackColor="#FFF7E7" ForeColor="#8C4510" />
                                <SelectedRowStyle CssClass="GridSelectedRowStyle" BackColor="#738A9C" Font-Bold="False"
                                    ForeColor="White" />
                                <PagerStyle CssClass="GridPagerStyle" ForeColor="#8C4510" HorizontalAlign="Center" />
                                <HeaderStyle CssClass="GridHeaderStyle" BackColor="DarkBlue" Font-Bold="True" ForeColor="White" />
                            </asp:GridView>
                        </asp:Panel>
                        <asp:ObjectDataSource ID="ODSType" runat="server" OldValuesParameterFormatString="original_{0}"
                            SelectMethod="GetCodesByType" TypeName="IPTableAdapters.CodeTableAdapter">
                            <SelectParameters>
                                <asp:Parameter DefaultValue="PT" Name="Type" Type="String" />
                            </SelectParameters>
                        </asp:ObjectDataSource>
                    </td>
                </tr>
            </table>
            <table width="950px">
                <tr>
                    <td align="center" style="height: 20px">
                        <asp:Label ID="lblError" runat="server" CssClass="error" ForeColor="Red" Width="950px"
                            meta:resourcekey="lblErrorResource1"></asp:Label>
                    </td>
                </tr>
            </table>
            <asp:Panel ID="Panel1" runat="server" Height="500px" HorizontalAlign="Center" Width="970px"
                meta:resourcekey="Panel1Resource1">
                <table style="width: 950px; text-align: center;">
                    <tr>
                        <td style="vertical-align: top; text-align: right; width: 445px;" colspan="1">
                            <asp:Label ID="lblProjectGroupID" runat="server" Text="Project Group ID" Width="100%"
                                meta:resourcekey="lblProjectGroupIDResource1"></asp:Label></td>
                        <td style="text-align: left; vertical-align: top;" colspan="3">
                            <asp:TextBox ID="txtProjectGroupID" runat="server" CssClass="required" MaxLength="30"
                                Width="258px" meta:resourcekey="txtProjectGroupIDResource1"></asp:TextBox>
                            <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="txtProjectGroupID"
                                Display="Dynamic" ErrorMessage="Project Group ID is a required field." meta:resourcekey="RequiredFieldValidator1Resource1"
                                ValidationGroup="PG"></asp:RequiredFieldValidator></td>
                    </tr>
                    <tr>
                        <td style="vertical-align: top; text-align: right; width: 445px;" colspan="1">
                            <asp:Label ID="lblDescription" runat="server" Text="Title / Subject" Width="100%"
                                meta:resourcekey="lblDescriptionResource1"></asp:Label></td>
                        <td style="text-align: left; vertical-align: top;" colspan="3">
                            <asp:TextBox ID="txtTitleSubject" runat="server" MaxLength="60" Width="377px" meta:resourcekey="txtTitleSubjectResource1"></asp:TextBox></td>
                    </tr>
                    <tr>
                        <td style="vertical-align: top; text-align: right; width: 445px;" colspan="1">
                            &nbsp;<asp:Label ID="lblType" runat="server" Text="Type" Width="90%" meta:resourcekey="lblTypeResource1"></asp:Label></td>
                        <td style="text-align: left; vertical-align: top;" colspan="3">
                            <asp:DropDownList ID="ddlType" runat="server" Width="110px" CssClass="required" meta:resourcekey="ddlTypeResource1">
                                <asp:ListItem meta:resourcekey="ListItemResource1" Text="Design"></asp:ListItem>
                                <asp:ListItem meta:resourcekey="ListItemResource2" Text="Patent"></asp:ListItem>
                                <asp:ListItem meta:resourcekey="ListItemResource3" Text="Trademark"></asp:ListItem>
                            </asp:DropDownList>
                            <asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" ControlToValidate="ddlType"
                                Display="Dynamic" ErrorMessage="Type is a required field." meta:resourcekey="RequiredFieldValidator5Resource1"
                                ValidationGroup="PG"></asp:RequiredFieldValidator></td>
                    </tr>
                    <tr>
                        <td style="vertical-align: top; height: 34px; text-align: right; width: 245px;" colspan="1">
                            <asp:Label ID="lblApplicant" runat="server" Text="Applicant" Width="100%" meta:resourcekey="lblApplicantResource1"></asp:Label></td>
                        <td style="height: 34px; text-align: left; width: 225px; vertical-align: top;">
                            <asp:TextBox ID="txtApplicant" runat="server" MaxLength="30" Width="200px" meta:resourcekey="txtApplicantResource1"></asp:TextBox></td>
                        <td style="vertical-align: top; height: 49px; text-align: right; width: 397px;">
                            <asp:Label ID="lblInventor" runat="server" Text="Inventor/Designer" Width="87%" meta:resourcekey="lblInventorResource1"></asp:Label></td>
                        <td style="height: 34px; text-align: left; vertical-align: top; width: 263px;">
                            <asp:TextBox ID="txtInventor" runat="server" MaxLength="30" Width="150px" meta:resourcekey="txtInventorResource1"></asp:TextBox></td>
                    </tr>
                    <tr>
                        <td style="vertical-align: top; height: 49px; text-align: right; width: 245px;" colspan="1">
                            <asp:Label ID="lblClient" runat="server" Text="Client" Width="100%" meta:resourcekey="lblClientResource1"></asp:Label></td>
                        <td style="vertical-align: top; height: 49px; text-align: left; width: 225px;">
                            <asp:TextBox ID="txtClient" runat="server" Width="123px"></asp:TextBox><asp:Button
                                ID="btnSearch" runat="server" OnClick="btnSearch_Click" OnClientClick="window.showModalDialog('FilterClient.aspx', '', 'width=400,height=400,left=400,top=300,dependent=yes,scrollbars=no');"
                                Text="..." />&nbsp;
                            <asp:TextBox ID="txtClientName" runat="server" CssClass="lookup" meta:resourcekey="txtClientNameResource2"
                                ReadOnly="True" Width="293px"></asp:TextBox></td>
                        <td style="vertical-align: top; text-align: right; width: 397px; height: 49px;">
                            <asp:Label ID="lblProjectClass" runat="server" Text="Project Class" Width="86%" meta:resourcekey="lblProjectClassResource1"></asp:Label></td>
                        <td style="vertical-align: top; text-align: left; height: 49px; width: 263px;">
                            <table>
                                <tr>
                                    <td style="height: 34px; width: 155px;">
                                        <asp:TextBox ID="txtProjectClass" runat="server" MaxLength="30" Width="148px" meta:resourcekey="txtProjectClassResource1"></asp:TextBox>
                                    </td>
                                    <td style="height: 34px">
                                        <asp:Button ID="btnProjectClass" runat="server" Text="..." meta:resourcekey="btnProjectClassResource1" />
                                    </td>
                                </tr>
                            </table>
                            <asp:RequiredFieldValidator ID="RequiredFieldValidator6" runat="server" ControlToValidate="txtProjectClass"
                                Display="Dynamic" ErrorMessage="Project Class is required." meta:resourcekey="ProjectClassValidatorResource"
                                ValidationGroup="PG" Enabled="False"></asp:RequiredFieldValidator>&nbsp;
                        </td>
                    </tr>
                    <tr>
                        <td style="vertical-align: top; height: 12px; text-align: right; width: 445px;" colspan="1">
                            <asp:Label ID="lblOfficerName" runat="server" Text="Officer Name" Width="100%" meta:resourcekey="lblOfficerNameResource1"></asp:Label>&nbsp;</td>
                        <td style="text-align: left; height: 12px; vertical-align: top;" colspan="3">
                            <asp:TextBox ID="txtOfficerName" runat="server" CssClass="required" MaxLength="30"
                                Width="258px" meta:resourcekey="txtOfficerNameResource1"></asp:TextBox>
                            <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="txtOfficerName"
                                Display="Dynamic" ErrorMessage="Officer Name is a required field." meta:resourcekey="RequiredFieldValidator2Resource1"
                                ValidationGroup="PG"></asp:RequiredFieldValidator></td>
                    </tr>
                    <tr>
                        <td style="vertical-align: top; text-align: right; width: 445px; height: 12px;" colspan="1">
                            &nbsp;<asp:Label ID="lblTitle" runat="server" Text="Department /Project Team" Width="91%"
                                meta:resourcekey="lblTitleResource1"></asp:Label></td>
                        <td style="text-align: left; height: 12px; width: 225px; vertical-align: top;" colspan="1">
                            <asp:TextBox ID="txtTitle" runat="server" MaxLength="60" Width="258px" meta:resourcekey="txtTitleResource1"></asp:TextBox>
                        </td>
                        <td style="vertical-align: top; text-align: right; height: 12px; width: 397px;" colspan="1">
                            <asp:Label ID="lblOfficerRole" runat="server" Text="Officer Role" Width="86%" meta:resourcekey="lblOfficerRoleResource1"></asp:Label></td>
                        <td style="text-align: left; height: 12px; vertical-align: top; width: 263px;">
                            <asp:TextBox ID="txtOfficerRole" runat="server" MaxLength="30" Width="160px" meta:resourcekey="txtOfficerRoleResource1"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td style="vertical-align: top; height: 34px; text-align: right; width: 445px;" colspan="1">
                            <asp:Label ID="lblEmail" runat="server" Text="Officer Email" Width="100%" meta:resourcekey="lblEmailResource1"></asp:Label></td>
                        <td style="text-align: left; vertical-align: top;" colspan="3">
                            <asp:TextBox ID="txtOfficerEmail" runat="server" MaxLength="30" Width="258px" meta:resourcekey="txtOfficerEmailResource1"></asp:TextBox>
                            <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ControlToValidate="txtOfficerEmail"
                                Display="Dynamic" ErrorMessage="Invalid format!" ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"
                                meta:resourcekey="RegularExpressionValidator1Resource1" ValidationGroup="PG"></asp:RegularExpressionValidator>
                        </td>
                    </tr>
                </table>
                <table style="width: 700px; text-align: center;">
                    <tr>
                        <td colspan="4" style="text-align: center; width: 706px; height: 23px;">
                            <asp:Button ID="btnNew" runat="server" CausesValidation="False" CssClass="submit"
                                meta:resourcekey="btnNewResource1" OnClick="btnNew_Click" Text="New" Visible="false" /><asp:Button
                                    ID="btnModify" runat="server" CausesValidation="False" CssClass="submit" meta:resourcekey="btnModifyResource1"
                                    OnClick="btnModify_Click" Visible="false" Text="Edit" /><asp:Button ID="btnSave" runat="server" CssClass="submit"
                                        meta:resourcekey="btnSaveResource1" OnClick="btnSave_Click" Text="Save" ValidationGroup="PG" /><asp:Button
                                            ID="btnDelete" runat="server" CausesValidation="False" CssClass="submit" meta:resourcekey="btnDeleteResource1"
                                            OnClick="btnDelete_Click" Text="Delete" /><asp:Button ID="btnCancel" runat="server"
                                                CausesValidation="False" CssClass="reset" meta:resourcekey="btnCancelResource1"
                                                OnClick="btnCancel_Click" Text="Cancel" /></td>
                    </tr>
                </table>
                <br />
                <br />
                <br />
            </asp:Panel>
            <br />
            <asp:Panel ID="Panel5" runat="server" CssClass="modalPopup" Height="425px" meta:resourcekey="Panel5Resource1"
                Style="display: none" Width="467px" ScrollBars="Vertical">
                <asp:Panel ID="Panel6" runat="server" Height="20px" meta:resourcekey="Panel6Resource1"
                    Style="border-right: gray 1px solid; border-top: gray 1px solid; border-left: gray 1px solid;
                    cursor: move; color: black; border-bottom: gray 1px solid; background-color: #dddddd"
                    Width="100%">
                    <div>
                        <p style="width: 100%">
                            Select Project Class:</p>
                    </div>
                </asp:Panel>
                <asp:ObjectDataSource ID="ODSProjectClass" runat="server" OldValuesParameterFormatString="original_{0}"
                    SelectMethod="GetProjectClass" TypeName="IPTableAdapters.ProjectClassTableAdapter"
                    DeleteMethod="Delete" InsertMethod="Insert" UpdateMethod="Update">
                    <DeleteParameters>
                        <asp:Parameter Name="ProjectClass" Type="String" />
                    </DeleteParameters>
                    <UpdateParameters>
                        <asp:Parameter Name="Description" Type="String" />
                        <asp:Parameter Name="UpdateBy" Type="String" />
                        <asp:Parameter Name="ProjectClass" Type="String" />
                    </UpdateParameters>
                    <InsertParameters>
                        <asp:Parameter Name="ProjectClass" Type="String" />
                        <asp:Parameter Name="Description" Type="String" />
                        <asp:Parameter Name="CreateBy" Type="String" />
                        <asp:Parameter Name="UpdateBy" Type="String" />
                        <asp:Parameter Name="OwnerGroupID" Type="String" />
                    </InsertParameters>
                </asp:ObjectDataSource>
                <table style="width: 477px">
                    <tr align="center">
                        <td>
                            <asp:Button ID="OKButton" runat="server" CssClass="reset" Text="OK" Width="43px"
                                OnClick="OKButton_Click" meta:resourcekey="OKButtonResource1" />
                            <asp:Button ID="btnProjectClassSetBlank" runat="server" CssClass="submit" OnClick="btnProjectClassSetBlank_Click"
                                Text="Set Blank" meta:resourcekey="btnProjectClassSetBlankResource1" />
                            <asp:Button ID="btnProjectClassCancel" runat="server" CssClass="reset" meta:resourcekey="CancelButtonResource1"
                                Text="Cancel" />
                        </td>
                    </tr>
                </table>
                <asp:UpdatePanel id="UpdatePanel1" runat="server">
                    <contenttemplate>
<asp:Panel id="Panel7" runat="server" Width="469px" ScrollBars="Vertical" Height="600%" meta:resourceKey="Panel7Resource1"><DIV style="PADDING-RIGHT: 3px; PADDING-LEFT: 3px; PADDING-BOTTOM: 3px; PADDING-TOP: 3px">&nbsp;<asp:GridView id="gvChooseProjectClass" runat="server" Width="447px" DataSourceID="ODSProjectClass" CssClass="Grid" BorderWidth="1px" Height="1px" AllowPaging="True" OnSelectedIndexChanged="gvChooseProjectClass_SelectedIndexChanged" DataKeyNames="ProjectClass,Description" CellSpacing="2" CellPadding="3" BorderStyle="None" BorderColor="#DEBA84" BackColor="#DEBA84" AutoGenerateColumns="False" meta:resourceKey="gvChooseClient">
<FooterStyle BackColor="#F7DFB5" CssClass="GridFooterStyle" ForeColor="#8C4510"></FooterStyle>

<RowStyle BackColor="#FFF7E7" CssClass="GridRowStyle" ForeColor="#8C4510"></RowStyle>
<Columns>
<asp:ButtonField CommandName="Select" DataTextField="ProjectClass" Text="ProjectClass" HeaderText="ProjectClass" SortExpression="Client" meta:resourceKey="ButtonFieldResource2"></asp:ButtonField>
<asp:BoundField DataField="ProjectClass" HeaderText="ProjectClass" ReadOnly="True" SortExpression="ProjectClass" Visible="False" meta:resourceKey="BoundFieldResource46"></asp:BoundField>
<asp:BoundField DataField="Description" HeaderText="Description" SortExpression="Description" meta:resourceKey="BoundFieldResource47"></asp:BoundField>
</Columns>

<PagerStyle HorizontalAlign="Center" CssClass="GridPagerStyle" ForeColor="#8C4510"></PagerStyle>

<SelectedRowStyle BackColor="#738A9C" CssClass="GridSelectedRowStyle" Font-Bold="False" ForeColor="White"></SelectedRowStyle>

<HeaderStyle BackColor="DarkBlue" CssClass="GridHeaderStyle" Font-Bold="True" ForeColor="White"></HeaderStyle>
</asp:GridView> </DIV></asp:Panel> 
</contenttemplate>
                </asp:UpdatePanel>
                <p style="text-align: center">
                    &nbsp;</p>
            </asp:Panel>
            <cc1:ModalPopupExtender ID="ModalPopupExtender" runat="server" BackgroundCssClass="modalBackground"
                CancelControlID="btnProjectClassCancel" DropShadow="True" DynamicServicePath=""
                Enabled="True" OkControlID="btnProjectClass" PopupControlID="Panel5" PopupDragHandleControlID="Panel7"
                TargetControlID="btnProjectClass">
            </cc1:ModalPopupExtender>
            <asp:CheckBox ID="chkForOperation" runat="server" meta:resourcekey="chkForOperationResource1"
                Visible="False" /><asp:CheckBox ID="chkForUpdate" runat="server" Height="2px" meta:resourcekey="cbForUpdateResource1"
                    Visible="False" Width="121px" />
            <br />
            <br />
            <br />
            <br />
            <br />
            <br />
            <br />
            <br />
        <%--</fieldset>--%>
    </div>

</asp:Content>

